package com.example.supernote.utils

import java.text.SimpleDateFormat
import java.util.Date

val dateFormat = SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss")
fun dateToFormatString(date: Date): String {
    return date.toString()
}

fun dateToFormatString(time: Long): String {

    return dateFormat.format(time)
}